<template>
<div>
    <van-empty description="功能正在完善中...">
      <van-button round type="primary" class="bottom-button" @click="toHomePage">返回首页</van-button>
    </van-empty>
</div>
</template>

<script lang="ts">
  import { defineComponent } from "vue"
  export default defineComponent({
    name:'Developing',
  })
</script>

<script lang="ts" setup>
import { useRouter } from "vue-router";
const router = useRouter()
function toHomePage() {
    router.push('/')
}

</script>

<style lang="less" scoped>
.bottom-button {
    width: 160px;
    height: 40px;
}
.van-empty{
    margin-top: 120px;
}
::v-deep(.van-button){
    width: 100px;
    height: 28px;
    line-height: 28px;
}
</style>